#include <stdio.h>
int main()
{
	int i,n=1;
	char ch;
	printf("Enter:");
	for (i=1;i<=8;i++)
	{
		ch=getchar();
		if(n==1)
		{putchar(ch);
		n=0;
		}
		else
		{putchar('-');
		putchar(ch);}
	}
}
